package com.hosp.bean;

import java.util.Date;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@ToString
public class Chargeproject {
    private Integer chapId;

    private String chapName;

    private Long chapMoney;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date chapTime;

    public Integer getChapId() {
        return chapId;
    }

    public void setChapId(Integer chapId) {
        this.chapId = chapId;
    }

    public String getChapName() {
        return chapName;
    }

    public void setChapName(String chapName) {
        this.chapName = chapName == null ? null : chapName.trim();
    }

    public Long getChapMoney() {
        return chapMoney;
    }

    public void setChapMoney(Long chapMoney) {
        this.chapMoney = chapMoney;
    }

    public Date getChapTime() {
        return chapTime;
    }

    public void setChapTime(Date chapTime) {
        this.chapTime = chapTime;
    }
}